package org.sport.dbInterface;

import org.sport.model.entityModel.AwardtableEntity;

import java.util.List;

/**
 * Created by Allen on 2017/9/20.
 */
public interface AwardOperation {

    /*
    * 增
    * */
    boolean         addOneData(AwardtableEntity aw);

    boolean         totalAwardAddOne(AwardtableEntity aw);

    /*
    * 改
    * */
    //boolean         update(AwardtableEntity aw);
    /*
    * 删
    * */
    boolean         delOneLine(AwardtableEntity aw);

    /*
    * 查
    * */
    AwardtableEntity findByUserId(AwardtableEntity aw);


    List<AwardtableEntity> findAllUserAward();

}
